package com.core.sendAgent.dao;

import java.util.List;

import com.common.web.SelectJson;
import com.core.sendAgent.dto.SendAgentSearchCondition;

public interface SendAgentDao {
	
	void add(SendAgentSearchCondition sc);
	
	void update (SendAgentSearchCondition sc);
	
	void del (String id);
	//其他页面应用的搜索
	List<SelectJson> searchDtoList(SendAgentSearchCondition sc);
	//获取展示页的数据
	List<SendAgentSearchCondition> getAgentSearchConditions(SendAgentSearchCondition sc);
	//获取所有记录
	Integer getAllRecodeCnt(SendAgentSearchCondition sc);
	
	SendAgentSearchCondition getById(Long id);

	SendAgentSearchCondition getNameById(Long id);
	
}
